]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
grabHelper: Drop unused method
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 8 Oct 2025 18:10:51 +0000 (20:10 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 5 Nov 2025 10:33:55 +0000 (11:33 +0100)
This was meant for widgets that don't exist anymore, we
do not need to explicitly ignore button releases anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3912>

js/ui/grabHelper.js

index a82a5fc6bb83d6dfbb73426163bbd18254080c26..f59766ed901358415ebd71ff05e942708af2e000 100644 (file)
@@ -184,16 +184,6 @@ export class GrabHelper {
         this._grab = null;
     }
 
-    // ignoreRelease:
-    //
-    // Make sure that the next button release event evaluated by the
-    // capture event handler returns false. This is designed for things
-    // like the ComboBoxMenu that go away on press, but need to eat
-    // the next release event.
-    ignoreRelease() {
-        this._ignoreUntilRelease = true;
-    }
-
     // ungrab:
     // @params: The parameters for the grab; see below.
     //